package cn.saddyfire.pattern.builder.demo2;

/**
 * @author Dee
 * @date 2024/1/23
 * <p>Description:
 */
public class Test {
    public static void main(String[] args) {
        Phone phone = new Phone.Builder()
                .cpu("intel")
                .screen("三星")
                .memory("金士顿")
                .mainboard("华硕主板")
                .build();
        System.out.println(phone);
    }
}
